<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let name = prompt('请输入你的姓名：')
        let age = prompt('请输入你的年龄')
        let gender = prompt('请输入你的性别')
        document.write(` <h1>姓名${name}</h1> 
        <h1>年龄${age}</h1>
        <h1>性别${gender}</h1>`)
    </script>
</body>
</html>